/*
package cloud.xlh.my_system.login.custom.controller;

import cloud.xlh.my_system.common.Result;
import cloud.xlh.my_system.login.custom.service.CustomLoginService;
import cloud.xlh.my_system.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


import java.io.UnsupportedEncodingException;
import java.util.HashMap;

*/
/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2022/6/27 10:22
 * @ Description:
 *//*

@Controller
@RequestMapping("/customLoginBusiness")
public class CustomLoginBusinessController {
    @Autowired
    private CustomLoginService customLoginService;

    @RequestMapping("/doLogin")
    @ResponseBody
    public Result doLogin(@RequestBody HashMap hashMap) {
        return customLoginService.doLogin(hashMap);
    }

    @RequestMapping("/getEncodedRandomString")
    @ResponseBody
    public Result getEncodedRandomString() {
        return customLoginService.getEncodedRandomString();
    }
    @RequestMapping("/doRegister")
    @ResponseBody
    public Result doRegister(@RequestBody User user) throws UnsupportedEncodingException {
        return customLoginService.doRegister(user);
    }
}
*/
